<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
    <title th:text="${#themes.code('zf.pageTitle')}"></title>
    <link rel="stylesheet" th:href="@{${#themes.code('zf.css.file')}}"/>
</head>
<body>
<h1 th:text="${#themes.code('zf.pageTitle')}"></h1>
<h1>已实现国际化</h1>
<h1>统一认证</h1>
<form method="post" class="form-validate" id="fm1" th:object="${credential}" action="login">
    <div >
        <label for="username" th:utext="#{screen.welcome.label.netid}"
               class="label-material">User Name</label>
        <input id="username" type="text" name="username" required
               data-msg="Please enter your username"
               class="input-material" size="25" tabindex="1"
               th:disabled="${guaEnabled}" th:field="*{username}"
               th:accesskey="#{screen.welcome.label.netid.accesskey}" autocomplete="off">
    </div>
    <div >
        <label for="password" th:utext="#{screen.welcome.label.password}"
               class="label-material">Password</label>
        <input id="password" type="password" name="password" required
               data-msg="Please enter your password"
               class="input-material" size="25" tabindex="2"
               th:accesskey="#{screen.welcome.label.password.accesskey}"
               th:field="*{password}" autocomplete="off" />
    </div>

    <div th:if="${rememberMeAuthenticationEnabled}">
        <input type="checkbox" name="rememberMe" id="rememberMe" value="true" tabindex="5"/>
        <label for="rememberMe" th:text="#{screen.rememberme.checkbox.title}">Remember Me</label>
    </div>

    <input type="hidden" name="execution" th:value="${flowExecutionKey}"/>
    <input type="hidden" name="_eventId" value="submit"/>
    <input type="hidden" name="geolocation"/>
    <input id="login" class="btn btn-primary" name="submit" accesskey="l"
           th:value="#{screen.welcome.button.login}" tabindex="6" type="submit"/>
</form>

</body>
</html>
